package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.Article;
import com.zhijian.medical.entity.vo.request.ArticleSearchVo;
import com.zhijian.medical.entity.vo.response.ArticleVo;

import java.util.List;

public interface ArticleMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Article record);

    int insertSelective(Article record);

    Article selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Article record);

    int updateByPrimaryKey(Article record);

    int count(ArticleSearchVo articleSearchVo);

    List<ArticleVo> selectList(ArticleSearchVo articleSearchVo);

    ArticleVo selectVoById(Long id);
}